﻿@model EventPlanner.Models.Contacto

@{
    ViewBag.Title = "Editar Contacto";
}
 <div class="subtitle">
<h2>@EventPlanner.Resources.Global.Global.lbl_EditarContacto</h2>
</div>
<p></p>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Contacto</legend>

        @Html.HiddenFor(model => model.id)

        <div class="editor-label">
            @Html.LabelFor(model => model.Nombre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Nombre)
            @Html.ValidationMessageFor(model => model.Nombre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Correo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Correo)
            @Html.ValidationMessageFor(model => model.Correo)
        </div>

         @Html.HiddenFor(model => model.Creador)

        <p>
            <input type="submit" value=@EventPlanner.Resources.Global.Global.lbl_Guardar />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink(@EventPlanner.Resources.Global.Global.lbl_VolverLista, "Index")
</div>
